<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%>
<!doctype html>
<html>
<head>
<title>${adminGlobalConfig.name}</title>
<%@include file="../head.jsp" %>
<script type="text/javascript">

</script>
<style type="text/css">
.select em {margin:5px 3px;}
</style>
</head>
<body>
<div class="wrapper">
<%@include file="../header.jsp" %>
<div class="body">
<div class="form">
<table>
<tr>
<th>组名称</th><th>所有权限</th><th>修改</th>
</tr>
<c:forEach var="group" items="${groups}">
<tr>
<td>${group.name}</td>
<td>
<div class="select">
<c:forEach var="action" items="${group.actions}">
<em>${action.name}</em>
</c:forEach>
</div>
</td>
<td>
<a href="/a/staff/group/form?id=${group.id}">修改</a>
</td>
</tr>
</c:forEach>
</table>
</div>
<div class="sidebarMenu">
<ul>
<li><a href="/a/staff/group/form">添加新组</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>